/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.opensource.jdom.taggen.util;

import java.lang.reflect.Method;

/**
 *
 * @author sergio.valdez
 */
public class ClassUtil {

    public static String methodsAsString(Class clazz){
        StringBuilder sb = new StringBuilder();

        Method[] methods = clazz.getMethods();

        for (Method method : methods) {
            sb.append(method.getName());
            sb.append(' ');
        }

        return sb.toString();
    }

}
